#include "EpilBuiltInFunctions.h"


void EpilBuiltInFunctions::RegisterFunctions( EpilInterpreter * interpreter )
{
	interpreter->RegisterFunction( t("print"), Print );
}


EpilObjectVector EpilBuiltInFunctions::Print( EpilInterpreter * interpreter, const EpilObjectVector & params )
{
	for( EpilObjectVector::const_iterator it = params.begin(); it != params.end(); ++it )
	{
		tcout << (*it)->ToString();
	}
	return EpilObjectVector();
}